<!DOCTYPE html>
<html lang="">
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0" />
    <link rel="icon" href="<%= BASE_URL %>favicon.ico" />
    <title>智慧园区</title>
    <style>
      html,
      body {
        width: 100vw;
        height: 100vh;
        overflow: hidden;
      }
     
    </style>
  </head>
  <body>
    <noscript>
      <strong
        >We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
        properly without JavaScript enabled. Please enable it to
        continue.</strong
      >
    </noscript>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
  <script>
    //定义UE5()函数
    "object" != typeof ue && (ue = {}),
      (uuidv4 = function () {
        return "10000000-1000-4000-8000-100000000000".replace(
          /[018]/g,
          function (t) {
            return (
              t ^
              (crypto.getRandomValues(new Uint8Array(1))[0] & (15 >> (t / 4)))
            ).toString(16);
          }
        );
      }),
      (ue5 = (function (r) {
        return "object" != typeof ue.interface ||
          "function" != typeof ue.interface.broadcast
          ? ((ue.interface = {}),
            function (t, e, n, o) {
              var u, i;
              "string" == typeof t &&
                ("function" == typeof e && ((o = n), (n = e), (e = null)),
                (u = [t, "", r(n, o)]),
                void 0 !== e && (u[1] = e),
                (i = encodeURIComponent(JSON.stringify(u))),
                "object" == typeof history &&
                "function" == typeof history.pushState
                  ? (history.pushState({}, "", "#" + i),
                    history.pushState({}, "", "#" + encodeURIComponent("[]")))
                  : ((document.location.hash = i),
                    (document.location.hash = encodeURIComponent("[]"))));
            })
          : ((i = ue.interface),
            (ue.interface = {}),
            function (t, e, n, o) {
              var u;
              "string" == typeof t &&
                ("function" == typeof e && ((o = n), (n = e), (e = null)),
                (u = r(n, o)),
                void 0 !== e
                  ? i.broadcast(t, JSON.stringify(e), u)
                  : i.broadcast(t, "", u));
            });
        var i;
      })(function (t, e) {
        if ("function" != typeof t) return "";
        var n = uuidv4();
        return (
          (ue.interface[n] = t),
          setTimeout(function () {
            delete ue.interface[n];
          }, 1e3 * Math.max(1, parseInt(e) || 0)),
          n
        );
      }));
    window.ue5 = ue5;
  </script>
</html>
